<!DOCTYPE html>
<html>
<head>
	<title>我的订单</title>
	<meta charset="UTF-8">
	<meta name="author" content="m.wine22.com">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<script type="text/javascript" src="/js/ext/qrcode.min.js"></script>

	<link rel="stylesheet" type="text/css" href="/css/base.css" charset="UTF-8" />
	<link rel="stylesheet" type="text/css" href="/css/cart.css" />
</head>
<body>
	<#assign title="我的推广">
	<#include "/common/header-user.html">
	
	<div class="order-view-tap background-white">
		<ul>
			<li class="amb activy" code="amdInfo">推广信息</li>
			<li class="amb" code="member">推广人员</li>
			<li class="amb" code="score" >推广积分</li>
		</ul>
	</div>

	<div id="noOrder" class="icon-cart" style="display: none;">
		<span class="icon-order-no"></span>
		<p>暂无订单</p>
	</div>
	
	<div class="order-view-wapper order-view-list" id="amdInfoDiv">
		<ul>
			<li class="order-view-title">
				<div class="order-view-no">
					<div>您可以使用下面三种方式，推荐人员注册本站，注册后下单后会根据下单商品返不同的积分。</div>
				</div>
			</li>
			<li class="order-view-title">
				<div><b>推广方式一：二维码</b></div>
				<div style="width:100%; text-align: center; padding:15px 0;">扫描下面二维码注册即算您的推广人员</div>
				<div id="qrcode" class="qrcode"></div>
			</li>
			<li class="order-view-title">
				<div><b>推广方式二：推荐码</b></div>
				<div style="width:100%; text-align: center; padding:15px 0; font-size: 2rem; color:orangered;">${(user.promoCode)!""}</div>
				<div style="width:100%; text-align: center;">被推荐用户在注册时填入上面的推荐码即可</div>
			</li>
			<li class="order-view-title">
				<div><b>推广方式三：推广链接</b></div>
				<div style="width:100%; text-align: center; padding:15px 0; font-size: 1rem; color:orangered;">http://www.yu9fang.com/reg.html?code=${(user.promoCode)!""}</div>
				<div style="width:100%; text-align: center; padding:15px 0;">被推荐用户直接点击链接注册即可</div>
			</li>
		</ul>
	</div>
	
	<div class="order-view-wapper order-view-list" id="memberDiv" style="display:none;">
		<ul>
			<li class="order-view-title">
				<div class="score-list-item score-list-title score-list-user">用户</div>
				<div class="score-list-item score-list-title score-list-date">注册时间</div>
			</li>
		</ul>
	</div>
	
	<div class="order-view-wapper order-view-list" id="scoreDiv" style="display:none;">
		<ul>
			<li class="order-view-title">
				<div class="score-list-item score-list-title score-list-date">时间</div>
				<div class="score-list-item score-list-title score-list-change">变化</div>
				<div class="score-list-item score-list-title score-list-resion">原由</div>
			</li>
		</ul>
	</div>
	
	<script type="text/javascript">var promoCode = "${(user.promoCode)!""}";</script>
	<script type="text/javascript" src="/js/biz/myAmb.js"></script>
</body>
</html>